package de.justphil.tcg.tcgserver.commons.i18n;

public class Error {
	
	/* WebSocket Errors */
	public static final String CLIENT_ERROR_MALFORMED_WEBSOCKET_MESSAGE			= "client_error_malformed_websocket_message";
	public static final String CLIENT_ERROR_UNKNOWN_WEBSOCKET_MESSAGE_SUBJECT	= "client_error_unknown_websocket_message_subject";
	public static final String CLIENT_ERROR_INVALID_WEBSOCKET_MESSAGE_SUBJECT	= "client_error_invalid_websocket_message_subject";
	public static final String CLIENT_ERROR_GAME_ID_PLAYER_ID_OR_OTP_MISSING	= "client_error_game_id_player_id_or_otp_missing";
	public static final String CLIENT_ERROR_GAME_NOT_AVAILABLE					= "client_error_game_not_available";
	public static final String CLIENT_ERROR_GAME_EXPIRED						= "client_error_game_expired";
	public static final String CLIENT_ERROR_PLAYER_NOT_ALLOWED					= "client_error_player_not_allowed";
	public static final String CLIENT_ERROR_PLAYER_ALREADY_CONNECTED			= "client_error_player_already_connected";
	public static final String CLIENT_ERROR_OTP_WRONG							= "client_error_otp_wrong";
	
	/* General Errors */
	public static final String SERVER_ERROR_INTERNAL							= "server_error_internal";
	
	/* RESTful Web Service Errors */
	public static final String CLIENT_ERROR_INVALID_REQUEST_URI					= "client_error_invalid_request_uri";
	public static final String CLIENT_ERROR_FILE_NOT_FOUND						= "client_error_file_not_found";
	public static final String CLIENT_ERROR_USER_NOT_FOUND						= "client_error_user_not_found";
	public static final String CLIENT_ERROR_GAME_NOT_FOUND						= "client_error_game_not_found";
	public static final String CLIENT_ERROR_NEW_GAME_NOT_FOUND					= "client_error_new_game_not_found";
	public static final String CLIENT_ERROR_INVALID_OTP							= "client_error_invalid_otp";
	public static final String CLIENT_ERROR_DECK_NOT_FOUND						= "client_error_deck_not_found";
	public static final String CLIENT_ERROR_CARD_NOT_FOUND						= "client_error_card_not_found";
	public static final String CLIENT_ERROR_IMAGE_NOT_FOUND						= "client_error_image_not_found";
	public static final String CLIENT_ERROR_CARD_INSTANCE_NOT_FOUND				= "client_error_card_instance_not_found";
	public static final String CLIENT_ERROR_PROPERTY_NOT_FOUND					= "client_error_property_not_found";
	public static final String CLIENT_ERROR_AUTH_USER_NOT_FOUND					= "client_error_auth_user_not_found";
	public static final String CLIENT_ERROR_NO_CREDENTIALS						= "client_error_no_credentials";
	public static final String CLIENT_ERROR_INVALID_AUTH_HEADER					= "client_error_invalid_auth_header";
	public static final String CLIENT_ERROR_PASS_WRONG							= "client_error_pass_wrong";
	public static final String CLIENT_ERROR_NOT_DECK_OWNER						= "client_error_not_deck_owner";
	public static final String CLIENT_ERROR_NOT_CARD_OWNER						= "client_error_not_card_owner";
	public static final String CLIENT_ERROR_NOT_CARD_INSTANCE_OWNER				= "client_error_not_card_instance_owner";
	public static final String CLIENT_ERROR_NOT_GAME_OWNER						= "client_error_not_game_owner";
	public static final String CLIENT_ERROR_ALREADY_IN_GAME						= "client_error_already_in_game";
	public static final String CLIENT_ERROR_ALL_SLOTS_OCCUPIED					= "client_error_all_slots_occupied";
	public static final String CLIENT_ERROR_ILLEGAL_GAME_STATE					= "client_error_illegal_game_state";
	public static final String CLIENT_ERROR_BAD_REQUEST							= "client_error_bad_request";
	public static final String CLIENT_ERROR_DELETION_REFUSED					= "client_error_deletion_refused";
	public static final String CLIENT_ERROR_NO_USERNAME							= "client_error_no_username";
	public static final String CLIENT_ERROR_INVALID_CHARS_IN_USERNAME			= "client_error_invalid_chars_in_username";
	public static final String CLIENT_ERROR_USERNAME_ALREADY_EXISTS				= "client_error_username_already_exists";
	public static final String CLIENT_ERROR_USERNAME_LESS_THAN_THREE			= "client_error_username_less_than_three";
	public static final String CLIENT_ERROR_USERNAME_GREATER_THAN_32			= "client_error_username_greater_than_32";
	public static final String CLIENT_ERROR_NO_PASSWORD							= "client_error_no_password";
	public static final String CLIENT_ERROR_PASSWORD_LESS_THAN_SIX				= "client_error_password_less_than_six";
	public static final String CLIENT_ERROR_PASSWORD_GREATER_THAN_32			= "client_error_password_greater_than_32";
	public static final String CLIENT_ERROR_INVALID_HASH						= "client_error_invalid_hash";
	public static final String CLIENT_ERROR_INVALID_LAT							= "client_error_invalid_lat";
	public static final String CLIENT_ERROR_INVALID_LON							= "client_error_invalid_lon";
	public static final String CLIENT_ERROR_INVALID_CIID						= "client_error_invalid_ciid";
	public static final String CLIENT_ERROR_RADIUS_LESS_THAN_ZERO				= "client_error_radius_less_than_zero";
	public static final String CLIENT_ERROR_RADIUS_GREATER_THAN_MAX				= "client_error_radius_greater_than_max";
	public static final String CLIENT_ERROR_CARD_INSTANCE_NOT_AVAILABLE			= "client_error_card_instance_not_available";
	public static final String CLIENT_ERROR_TOO_FAR_AWAY						= "client_error_too_far_away";
	public static final String CLIENT_ERROR_INVALID_DECK_DATA					= "client_error_invalid_deck_data";
	public static final String CLIENT_ERROR_INVALID_DECK_NAME					= "client_error_invalid_deck_name";
	public static final String CLIENT_ERROR_DECK_NAME_LESS_THAN_MIN				= "client_error_deck_name_less_than_min";
	public static final String CLIENT_ERROR_DECK_NAME_GREATER_THAN_MAX			= "client_error_deck_name_greater_than_max";
	public static final String CLIENT_ERROR_DECK_CIS_LESS_THAN_MIN				= "client_error_deck_cis_less_than_min";
	public static final String CLIENT_ERROR_DECK_CIS_GREATER_THAN_MAX			= "client_error_deck_cis_greater_than_max";
	public static final String CLIENT_ERROR_INVALID_CI_MULTIPLICITY				= "client_error_invalid_ci_multiplicity";
	public static final String CLIENT_ERROR_MIN_ONE_DECK_REQUIRED				= "client_error_min_one_deck_required";
}
